package com.abcode.userserver.remote;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name= "email-server")
public interface IEmailServer {
  @RequestMapping(value = "/operation/save_contract")
  String sendEmail(@RequestParam("to") String to,@RequestParam("subject") String subject,@RequestParam("content") String content);
}
